[mirrors]
ftp://mirrors.kernel.org/gnu/grep/grep-2.16.tar.xz
http://mirrors.kernel.org/gnu/grep/grep-2.16.tar.xz

[main]
filesize=1210192
sha512=6b56aca3c859c28d463e1aa755f4f004087985573a8e012a8371780d6b7cbfa8587d5b0bfd2d37b1ddf6c3a49b9126d1e1408d2cc9255558f6cd5754b395b9f9

[deps]
xz
gettext

[build]
GNULIB_CPPFLAGS=$("$K"/bin/gnulibfix lib)
[ -n "$CROSS_COMPILE" ] && xconfflags="--host=$($CC -dumpmachine)"
CFLAGS="-D_GNU_SOURCE $optcflags $GNULIB_CPPFLAGS" LDFLAGS="$optldflags" \
./configure -C --prefix="$butch_prefix" $xconfflags
make -j$MAKE_THREADS
make DESTDIR="$butch_install_dir" install
